/**
 * Created by Freeman on 2016/7/25.
 */
import msg from './msg'
import auth from './auth'
import tagList from './tagList'
import options from './options'
import {articleList,articleDetail} from './article'
import commentList from './comment'
import { routerReducer as routing } from 'react-router-redux'
import { combineReducers } from 'redux'
import {reducer as formReducer } from 'redux-form'


// Updates the pagination data for different actions.

const rootReducer = combineReducers({
    msg,
    auth,
    tagList,
    options,
    articleList,
    articleDetail,
    commentList,
    routing,
    form:formReducer
});

export default rootReducer